CopyRgn
CopyRgn
Duplicate region's structure to an existing Region RgnHandle destRgn ; region to hold a duplicate of srcRgn CopyRgn copies the data of one Region into an other. srcRgn is the handle of an existing Region you wish to duplicate.
destRgn is the handle of an existing Region (typically an empty one). After
the call, this region will be identical to srcRgn .
Notes: CopyRgn does not affect the screen. The destRgn must exist before the call (see NewRgn). After the call, you can modify or dispose of it without changing srcRgn .